package com.lvyq.myplayer.adapter

import android.content.Context
import com.lvyq.myplayer.base.BaseListAdapter
import com.lvyq.myplayer.model.yudan.YueDanItemBeans
import com.lvyq.myplayer.widget.YueDanItemView

/**
 * 文件描述：YueDanAdapter
 * 作者：lvyq
 * 创建时间：2025-02-24
 * 修改时间：2025-02-24
 */
class YueDanAdapter: BaseListAdapter<YueDanItemBeans,YueDanItemView>(){
    override fun refreshView(itemView: YueDanItemView, data: YueDanItemBeans) {
        itemView.setData(data)
    }

    override fun getItemView(context: Context?): YueDanItemView {
        return YueDanItemView(context)
    }

}